<%--
  Created by IntelliJ IDEA.
  User: xiaoding
  Date: 2021/1/16
  Time: 19:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改用户</title>
    <link rel="stylesheet" type="text/css" href="bootstrap-3.3.7-dist/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href=bootstrap-3.3.7-dist/css/Style.css">
    <link rel="stylesheet" type="text/css" href="bootstrap-3.3.7-dist/css/reg.css">
    <script src="bootstrap-3.3.7-dist/js/JQuery.js" type="text/javascript" charset="utf-8"></script>
    <script src="bootstrap-3.3.7-dist/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
    <style>
        .reg h1{
            margin: 0px 0px 20px 0px !important;
        }
    </style>
</head>
<body background="images/bg.jpg">
<div class="reg">
    <h1>修改用户信息</h1>
    <form method="post" action="NextUserServlet?flag=update">
        <input required="required" type="hidden" value="${param.page}" name="page" id="page">
        <input required="required" type="hidden" value="${param.uNames}" name="phone" id="uNames">
        <input required="required" type="hidden" value="${requestScope.users.uId}" name="uId" id="uId">
        <div class="form-group">
            <label for="account">账号(手机号)</label>
            <input required="required" type="text" value="${requestScope.users.account}" class="form-control" name="account" id="account" placeholder="请输入账号">
        </div>
        <div class="form-group">
            <label for="pws">密码</label>
            <input required="required" type="password" value="${requestScope.users.pws}" class="form-control" name="pws" id="pws" placeholder="请输入密码">
        </div>
        <div class="form-group">
            <label for="uName">姓名</label>
            <input required="required" type="text" value="${requestScope.users.uName}" class="form-control" name="uName" id="uName" placeholder="请输入姓名">
        </div>
        <div class="form-group">
            <label for="email">邮箱</label>
            <input required="required" value="${requestScope.users.email}" type="email" class="form-control" name="email" id="email" placeholder="请输入邮箱">
        </div>
        <div class="form-group">
            <label for="count">借阅天数</label>
            <input required="required" type="text" value="${requestScope.users.count}" class="form-control" name="count" id="count" placeholder="请输入密码">
        </div>
        <div class="form-group">
            <label for="age">年龄</label>
            <input required="required" type="text" value="${requestScope.users.age}" class="form-control" name="age" id="age" placeholder="请输入密码">
        </div>
        <div class="form-group">
            <label for="sex">性别</label>
            <input type="radio" class="sex" value="男" name="sex" id="sex" checked>男
            <input type="radio" class="sex" value="女" name="sex" id="sex1">女
        </div>
        <button type="submit" class="btn btn-default">确定</button>
    </form>
</div>
</body>
</html>
